package cn.iocoder.yudao.module.system.controller.admin.auth.vo;

import cn.iocoder.yudao.framework.common.validation.Mobile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 手机号+验证码+图片验证码 Request VO")
@Data
public class AuthMobileVerifyCodeReqVO {

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13800138000")
    @NotEmpty(message = "手机号不能为空")
    @Mobile
    private String mobile;

    @Schema(description = "验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    @NotEmpty(message = "验证码不能为空")
    private String code;

    @Schema(description = "图片验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "ABCD")
    @NotEmpty(message = "图片验证码不能为空")
    private String captchaCode;

    @Schema(description = "图片验证码唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "uuid123456")
    @NotEmpty(message = "图片验证码标识不能为空")
    private String captchaUuid;

    @Schema(description = "场景", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "场景不能为空")
    private Integer scene;

}